<?php
class Config extends CI_Controller{
    
    var $url = 'config/';
    
    function __construct(){
        parent::__construct();
        $this->lang->load('config');
    }
    
    function grid(){
		$this->load->model('filtergrid');
		
		
		$grid = new Filtergrid($_GET);
		$grid->select('clave','valor');
		$grid->from('config');
		$grid->order_by('clave','asc');
		$grid->output('clave');
	}
	
	function principal(){
		$data=array();
		$this->load->view('config', $data);
	}
}

?>
